package com.fbinggun.fattribute.attribute;

import com.fbinggun.fattribute.data.EntityData;

public interface IAttribute {

    public String getID();
    public String getKey();
    public AttributeType getType();
    public int getCombat();

    public static IAttribute getKey(String key){
        return AttributeManage.getIAttribute(key);
    }
    public default double getValue(EntityData entityData){
        return entityData.getValue(getKey());
    }
    public default void up(EntityData entityData) {

    }
}
